package com.yt.agent.Yprocess.ui;

import java.sql.ResultSet;
import java.sql.SQLException;

public   class  YprocessRowMapper implements org.springframework.jdbc.core.RowMapper {

 
    public Object mapRow(ResultSet rs, int arg1) throws SQLException  {
        Yprocess model=new Yprocess();
        model.setAdder(rs.getString("adder")) ;
        model.setAddtime(rs.getString("addtime")) ;
        model.setContent(rs.getString("content")) ;
        model.setFkid(rs.getInt("fkid")) ;
        model.setFktable(rs.getString("fktable")) ;
        model.setFserialno(rs.getInt("fserialno")) ;
        model.setMemo(rs.getString("memo")) ;
        model.setMemo2(rs.getString("memo2")) ;
        model.setMemo3(rs.getString("memo3")) ;
        model.setMemo4(rs.getString("memo4")) ;
        model.setMemo5(rs.getString("memo5")) ;
        model.setMemo6(rs.getString("memo6")) ;
        model.setSts(rs.getInt("sts")) ;
        model.setTel(rs.getString("tel")) ;
        return model;
    }
}
